<!DOCTYPE html>
<html>
<head>
<meta name="Keywords" content="{:C('KEY_WORD')}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="{:C('DESCRIPTION')}" />
<meta name="Author" content="YuZhiyuan - 307090870@qq.com" />
<meta name="Robots" content="index,follow" />
<link rel="stylesheet" href="__PUBLIC__Css/Envision.css" type="text/css" />
<title>{:C('WEB_SITE')}</title>	
<script type="text/javascript" src="__PUBLIC__js/jquery-1.7.2.min.js"></script><!--Needed for the prettyPhoto to function-->
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"  type="text/javascript"></script><!--runs the tabs widgets and toggle widgets-->
<script type="text/javascript" src="__PUBLIC__js/simplepager.js"></script><!--runs the pagination-->
<script type="text/javascript" src="__ROOT__Data/Ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
<link rel="stylesheet" href="__ROOT__Data/Ueditor/third-party/SyntaxHighlighter/shCoreDefault.css" type="text/css" />
<link rel="stylesheet" href="__PUBLIC__css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />
<script type="text/javascript">
$(document).ready(function() {
    $('span.category').hover(function(){
    $(this).next().css('background-color','#e25050');
    },function(){
    $(this).next().css('background-color','#393939');
    });        
    $(".pageing").quickPager({
        pageSize : 5,
    });
});
SyntaxHighlighter.all();

</script>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="__PUBLIC__Css/style.css" rel="stylesheet" type="text/css" />
 
</head>
<body>
    <div id="wrapper">
    
      <div id="main">
        <div id="navigation">
        <include file="Public:nav"/>
        </div>
        <div id="main-content">
                <ul class="pageing">
                <notempty name="list">
                    <volist name="list" id="post">
                    <li>
                    <div class="post">
                        <h1 class="title"><a href="{:U('/' . $post['aid'])}">{$post.atitle}</a></h1>
                        <span class="twitter"><a href="#"></a></span>
                        <span class="facebook"><a href="#"></a></span>
                        <div class="meta">
                            <ul >
                                <li class="admin"><a href="#">{$post.bnickname}</a></li>
                                <li class="date">{$post.aaddtime|date="Y-m-d",###}</li>
                            </ul>
                        </div><!--end meta-->
                        
                        <span class="main-border"></span>
                        <!--title图片-->
                        <notempty name="post.atitlepic">
                        <img class="post-image" src="{$post.titlepic}" alt="post image" height="214" width="609" />
                        <p></p>
                        </notempty>
                        <!--文章内容-->
                        <div class="post-content">
                        {$post.acontent}
                        </div>
                        <a class="read-more" href="{:U('/' . $post['aid'])}">Read More</a>
                        <div class="clear"></div>
                    </div><!--END post-->
                    </li>
                    </volist>                
                <else />
                    <li>
                        <div class="alertPink" style="width:100%;">该分类下暂时没有文章，欢迎 <a href="#">投稿</a> ！</div>
                    </li>
                </notempty>         
                </ul>
               
                <div class="Pagination"></div>
                 <div class="clear"></div>
            </div><!--END main-content-->
        </div><!--END main-->
        <include file="Public:side"/>
        <div class="clear"></div>
        
        </div><!--End wrapper-->
        <include file="Public:footer"/>
<script src="__PUBLIC__js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
         <script type="text/javascript" charset="utf-8">
  $(document).ready(function(){
    $("a[rel^='prettyPhoto']").prettyPhoto();
  });
</script>
</body>
</html>

